﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Phoenix.AppCode.Entities
{
    public class Users
    {
        public Users() {
            idusers = "";
            username = "";
            pass = "";
            fullname = "";
            position = "";
            email = "";
            phone = "";
            createdate = DateTime.Now;
            lastlogin = DateTime.Now;
            lastlogout = DateTime.Now;
            editdate = DateTime.Now;
            visible = true;
        }

        private string idusers;
        private string username;
        private string pass;
        private string fullname;
        private string position;
        private string email;
        private string phone;
        private DateTime createdate;
        private DateTime lastlogin;
        private DateTime lastlogout;
        private DateTime editdate;
        private bool visible;

        public string ID_Users {
            get { return idusers; }
            set { idusers = value; }
        }
        public string UserName
        {
            get { return username; }
            set { username = value; }
        }
        public string Pass
        {
            get { return pass; }
            set { pass = value; }
        }
        public string FullName
        {
            get { return fullname; }
            set { fullname = value; }
        }
        public string Position
        {
            get { return position; }
            set { position = value; }
        }
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        public string Phone
        {
            get { return phone; }
            set { phone = value; }
        }
        public DateTime CreateDate {
            get { return createdate; }
            set { createdate = value; }
        }
        public DateTime LastLogin
        {
            get { return lastlogin; }
            set { lastlogin = value; }
        }
        public DateTime LastLogout
        {
            get { return lastlogout; }
            set { lastlogout = value; }
        }
        public DateTime EditDate
        {
            get { return editdate; }
            set { editdate = value; }
        }
        public bool Visible {
            get { return visible; }
            set { visible = value; }
        }
    }
}